
#ifndef __OS_PORT_H
#define __OS_PORT_H

#include <stdint.h>
#include <stdio.h>
#ifdef __cplusplus
extern "C" {
#endif


//disable or enable global interrupt
#define       portDISABLE_ISR()
#define       portENABLE_ISR()

//gteting sysytem tick
#define       port_GET_SYS_TICK()            (get_systick())

//lower power 
#define       port_LOWER_POWER_SLEEP()

extern uint32_t get_systick(void);
extern void get_systick_thread(void * arg);

#ifdef __cplusplus
}
#endif

#endif
